package cn.zhaoyuening.zamh.msg;

/**
 * Created by 赵岳宁 on 2017/6/3.
 */
public class Msg {
    private final int id;
    private Object info;

    public Msg(int id, Object content) {
        this.id = id;
        this.info = content;
    }

    public int getId() {
        return id;
    }

    public Object getInfo() {
        return info;
    }

    @Override
    public String toString() {
        return id+" "+info.toString();
    }
}
